//
//  DnHorizontalMenuTableCell.h
//  DnRollTabbarMenu
//
//  Created by Ngoc on 27/11/2011.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DnRollMenuItem.h"

@protocol DnRollHorizontalMenuTableCellDelegate <NSObject>
-(NSInteger) numberItemsOfHorizontalMenu:(id) sender;
-(UITableViewCell*) horizontalMenu:(id) sender itemAtIndex:(NSInteger) itemIndex;

@end
@interface DnRollHorizontalMenuTableCell : UITableViewCell<UITableViewDelegate, UITableViewDataSource> {
    
    UITableView *horizontalTableView;
    //NSArray *menuItems;
    NSInteger distance;
    id<DnRollHorizontalMenuTableCellDelegate> _dataSource;
}
//@property (nonatomic, retain) NSArray *menuItems;
@property (nonatomic) NSInteger distance;
@property(nonatomic, retain) id<DnRollHorizontalMenuTableCellDelegate> dataSource;
@end
